import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'
import testpage from '@/components/testpage'
import mymap from '@/components/Mymap'

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/compass',
      name: 'testpage',
      component: testpage
    },
    {
      path: '/',
      name: 'mymap',
      component: mymap
    }
  ]
})
